﻿@model Barry.BarbeSystem.Models.BarberDetail

@{
    ViewBag.Title = "title";
}


@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>理发项目详情</legend>
         <div class="editor-label">
             @Html.LabelFor(model => model.BarberCategory.Name)
        </div>
        <div class="editor-field">
            @Html.DropDownList("category")
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Name)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Name)
            @Html.ValidationMessageFor(model => model.Name)
        </div>
        
        <div class="editor-label">
            @Html.LabelFor(model => model.Money)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Money)
            @Html.ValidationMessageFor(model => model.Money)
        </div>
        <p>
            <input type="submit" value="新增" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("返回", "Index")
</div>


